Copy a file to the same directory#10825
Copy a file to the same directory#10825MorrisJobke merged 6 commits intonextcloud:masterfrom greenido:fixing-issue-9931
Conversation
|
@skjnldsv Let's make it 15 and then backport to stable14 😉 |
|
@skjnldsv @jancborchardt @juliushaertl Mind to review this one? |
|
@dairaine @sunjam @lightweight Could you try this change for the feature you requested? |
jancborchardt
left a comment
There was a problem hiding this comment.
@greenido nice! Could you adjust the naming to the spec at #9931 (comment) ?
- filename (copy).txt
- filename (another copy).txt
- filename (3rd copy).txt
- filename (4th copy).txt
- etc
This is more obvious than just appending the number, which could also be a conflict or having uploaded the original file again.
|
Sure! I hope to find time tonight ;)
…On Tue, Oct 2, 2018 at 10:17 AM Jan-Christoph Borchardt < ***@***.***> wrote:
***@***.**** requested changes on this pull request.
@greenido <https://github.com/greenido> nice! Could you adjust the naming
to the spec at #9931 (comment)
<#9931 (comment)> ?
- filename (copy).txt
- filename (another copy).txt
- filename (3rd copy).txt
- filename (4th copy).txt
- etc
This is more obvious than just appending the number, which could also be a
conflict or having uploaded the original file again.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#10825 (review)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADwIC1SM02XTolvwzw6gRTVmAWcJ6dKks5ug5_DgaJpZM4WJ9Z1>
.
|
|
Done.
Please check and let me know. Thank you.
…On Tue, Oct 2, 2018 at 10:42 AM Ido Green ***@***.***> wrote:
Sure! I hope to find time tonight ;)
On Tue, Oct 2, 2018 at 10:17 AM Jan-Christoph Borchardt <
***@***.***> wrote:
> ***@***.**** requested changes on this pull request.
>
> @greenido <https://github.com/greenido> nice! Could you adjust the
> naming to the spec at #9931 (comment)
> <#9931 (comment)>
> ?
>
>
> - filename (copy).txt
> - filename (another copy).txt
> - filename (3rd copy).txt
> - filename (4th copy).txt
> - etc
>
> This is more obvious than just appending the number, which could also be
> a conflict or having uploaded the original file again.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#10825 (review)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AADwIC1SM02XTolvwzw6gRTVmAWcJ6dKks5ug5_DgaJpZM4WJ9Z1>
> .
>
|
skjnldsv
left a comment
There was a problem hiding this comment.
Need some small changes!! Did not tested it yet, the code looks good 👍✨
|
@jancborchardt @skjnldsv Mind to re-review? |
Let's do this for 16 and look into back porting this maybe later. |
|
I'll do my best to do it today - Thank you for the heads up.
…On Thu, Nov 15, 2018 at 7:42 AM Morris Jobke ***@***.***> wrote:
@greenido <https://github.com/greenido> As we are planning to release
15.0.0 Beta 2 today: I guess there is very little chance that you could
sign-off the commits, right? It's fairly easy:
Let's do this for 16 and look into back porting this maybe later.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#10825 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADwICDxQMf3MdqphIfbi8sgs9-6PmJ2ks5uvYtvgaJpZM4WJ9Z1>
.
|
|
@greenido No need to hurry on this one. Beta 2 is out 🚀 but we will get it into the next release maybe ;) |
greenido
left a comment
There was a problem hiding this comment.
Signed-off-by: Ido Green greenido@gmail.com
|
@greenido https://github.com/nextcloud/server/runs/32106619 follow the instructions there to fix the sign off |
|
I got into a small mess due to an update I did to my fork...
So the two git commands aren’t working as expected.
… On Nov 15, 2018, at 09:36, Daniel Kesselberg ***@***.***> wrote:
@greenido https://github.com/nextcloud/server/runs/32106619 follow the instructions there to fix the sign off
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
|
Yes. I'm not sure but |
|
Just did... thank you for the heads up.
…--
On Nov 15, 2018, at 10:49, Daniel Kesselberg ***@***.***> wrote:
Yes. I'm not sure but greenido/server is missing a lof ot changes form nextcloud/server. I would try to update my fork first (https://help.github.com/articles/syncing-a-fork/) and than try to rebase again.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
This looks like it went wrong 🙈 Sorry for the mess here. I pushed to your branch a new commit as well and this seems to not have relaxed the situation. I guess here a heavy "git rebase --interactive" is needed with "edit" as option instead of "pick" to be able to modify the commit message (adding basically the sign-off message). See https://morrisjobke.de/2015/12/03/How-to-do-a-git-rebase/ for details about a rebase. In your case it's best to checkout master. Do a pull from our master. Then you can do the above mentioned rebase and push again. In case of problems: I have the old version of the branch still locally and we can go for that if something bad happens. |
|
And this is how the sign-off looks like: It's basically this line inside the commit message: |
|
Hey @MorrisJobke I followed the steps you mention but I don't know what to pick in the interactive merge... Can you fix these two in 'my' local master (or branch)? |
|
I just used the local commits from my side, rebased them and pushed them. They do not yet contain the sign-off message, but I can walk you through this. This will open an editor with following content: The first 4 lines in there are your commits, the fifth one is my commit. So you only need to edit the first 4 lines. Change there the Force push your commits and you should be done. 👍 |
|
I followed your steps - but for some reason that DCO still asking me to sign more commits. |
|
Uuuuhhh ... the git history looks a bit broken. It seems that there were non-fast-forward merges on your master branch and thus git thinks that there needs to be more merged into this one here. Also your commits do not contain the message. :/ I could add the message for you and fix this PR. In the future you could use |
Signed-off-by: Ido Green <greenido@gmail.com> Signed-off-by: Morris Jobke <hey@morrisjobke.de>
More: #10825 (comment) Signed-off-by: Ido Green <greenido@gmail.com>
More details here: #9931 (comment) Signed-off-by: Ido Green <greenido@gmail.com>
Signed-off-by: Ido Green <greenido@gmail.com>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
|
stable15 is branched off -> merge |
|
Thanks for your first pull request and welcome to the community! Feel free to keep them coming! If you are looking for issues to tackle then have a look at this selection: https://github.com/nextcloud/server/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22 |
|
Will do!
Thank you 🙏
…--
On Nov 22, 2018, at 11:37, welcome[bot] ***@***.***> wrote:
Thanks for your first pull request and welcome to the community! Feel free to keep them coming! If you are looking for issues to tackle then have a look at this selection: https://github.com/nextcloud/server/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22
Most developers hang out on IRC. So join #nextcloud-dev on Freenode for a chat!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Fixes #9931